import request from '@/utils/request'

// 到付快递分页
export function getList(params) {
  return request({
    url: '/CourierPay/list',
    method: 'POST',
    params
  })
}

// 添加到付快递
export function addtopayexpress(data) {
  return request({
    url: '/CourierPay/add',
    method: 'POST',
    data
  })
}

// 查询到付快递
export function selecttopayexpress(params) {
  return request({
    url: '/CourierPay/load',
    method: 'POST',
    params
  })
}

// 删除到付快递
export function deletetopayexpress(data) {
  return request({
    url: '/CourierPay/delete',
    method: 'post',
    data
  })
}

// 修改到付快递
export function updatetopayexpress(data) {
  return request({
    url: '/CourierPay/update',
    method: 'post',
    data
  })
}

// 查所有人
export function selectOperator(params) {
  return request({
    url: '/employee/personnelInfoOther',
    method: 'post',
    params
  })
}
